package com.his.auth.controller;

import com.his.auth.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * @Author Administrator
 * @Date 2019/11/19
 */
@Controller
public class IndexController {
    @Resource
    private UserService userService;

    private static Logger logger = LoggerFactory.getLogger(IndexController.class.getSimpleName());
    @RequestMapping("/index")
    public String index(){
       logger.info("index");
       return  "index/index";
    }
}
